﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataLayer;

namespace BusinessLayer
{
    public static class BizPago
    {

        public static bool ValidateDateTo(int IdBnf, DateTime to)
        {
            return DatPago.ValidateDate(1, IdBnf, to) == 0;
        }

        public static bool ValidateDateFrom(int IdBnf, DateTime from)
        {
            return DatPago.ValidateDate(0, IdBnf, from) == 0;
        }

        public static bool ValidateDates(int IdBnf, DateTime from, DateTime to)
        {
            return DatPago.ValidateDate(IdBnf, from, to) == 0;
        }

        public static Common.dsBoleto PagoGet(int idBnf, DateTime from, DateTime to)
        {
            return DatPago.PagoGet(idBnf, from, to);
        }

        public static void PagoSet(int idBnf, DateTime from, DateTime to)
        {
            DatPago.PagoSet(idBnf, from, to);
        }
    }
}
